CREATE TABLE [dbo].[TMSIST]
(
[CO_SIST] [dbo].[TD_VC_008] NOT NULL,
[NO_SIST] [dbo].[TD_VC_050] NOT NULL CONSTRAINT [DF__TMSIST__NO_SIST__4D5F7D71] DEFAULT (' '),
[NO_BDAT] [dbo].[TD_VC_008] NULL,
[CO_USUA_CREA] [dbo].[TD_VC_008_USUA] NULL CONSTRAINT [DF__TMSIST__CO_USUA___4E53A1AA] DEFAULT (substring(suser_sname(),(1),(8))),
[FE_USUA_CREA] [dbo].[TD_DT_001_SIST] NULL CONSTRAINT [DF__TMSIST__FE_USUA___4F47C5E3] DEFAULT (getdate()),
[CO_USUA_MODI] [dbo].[TD_VC_008_USUA] NULL CONSTRAINT [DF__TMSIST__CO_USUA___503BEA1C] DEFAULT (substring(suser_sname(),(1),(8))),
[FE_USUA_MODI] [dbo].[TD_DT_001_SIST] NULL CONSTRAINT [DF__TMSIST__FE_USUA___51300E55] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TMSIST] ADD CONSTRAINT [PK__TMSIST__7735222C17236851] PRIMARY KEY CLUSTERED  ([CO_SIST]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[TMSIST] TO [public]
GRANT INSERT ON  [dbo].[TMSIST] TO [public]
GRANT DELETE ON  [dbo].[TMSIST] TO [public]
GRANT UPDATE ON  [dbo].[TMSIST] TO [public]
GO
